-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
airsonic: fix virtualHost option #78129
Conversation
@flyfloh have you already tried setting |
@aanderse Sorry, took a while until I found some time to try this. Unfortunately setting |
No problem. This looks fine to me then. We should find someone familiar with |
It seems all right to use their settings, though I wonder what's going on here: what if other services are affected as well?
The nginx docs says the following about
On the other hand
The two could be different and thus break the connection if
|
ping @flyfloh |
2aa913b
to
aae5dea
Compare
I couldn't reproduce the breakage when using |
This fixes music playback when using the `services.airsonic.virtualHost` option.
aae5dea
to
519d4f8
Compare
So, can we go forward with this? Should it be backported? |
Everything still works from my side. Is there anything I need to do before this can be merged? |
Since @Ma27 approved of this and you can't reproduce the issue with |
Backported to 20.03 in e393449. |
The webplayer was not working with the services.airsonic.virtualHost
option because of missing proxy headers. This sets these headers up as
described in the airsonic documentation.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)